from django.shortcuts import render
from django.views import View


# Create your views here.
# def index(request):
#     """
#     课程页
#     :param request:
#     :return:
#     """
#     return render(request,'course/course.html')
class IndexView(View):
    """课程主页"""
    def get(self, request):
        return render(request,'course/course.html')


class DetailView(View):
    """课程详情页"""
    def get(self, request):
        return render(request,"course/course_detail.html")
